pixelcache: squash warnings introduced by previous commits
authorChristian Hergert <christian@hergert.me>
Sun, 13 Sep 2015 20:40:57 +0000 (13:40 -0700)
committerChristian Hergert <christian@hergert.me>
Sun, 13 Sep 2015 20:41:19 +0000 (13:41 -0700)
gtk/gtkpixelcache.c

index 55d977e9d76256ffa3388a8aac03ab486474d5b0..6661f3d0074c51869d6b04b4c133e847ec13bf2a 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "gtkdebug.h"
 #include "gtkpixelcacheprivate.h"
+#include "gtkstylecontextprivate.h"
 
 #define BLOW_CACHE_TIMEOUT_SEC 20
 
@@ -186,8 +187,6 @@ _gtk_pixel_cache_create_surface_if_needed (GtkPixelCache         *cache,
   cairo_rectangle_int_t rect;
   int surface_w, surface_h;
   cairo_content_t content;
-  cairo_pattern_t *bg;
-  double red, green, blue, alpha;
 
 #ifdef G_ENABLE_DEBUG
   if (GTK_DEBUG_CHECK (NO_PIXEL_CACHE))